package Demo01.Role;

public class Employee extends Role {

    private double salay;
    private static  String ID;

    public Employee(){
        super("花木兰",20,'女');
        System.out.println("Employee的无参构造");
    }

    public Employee(String name, int age, char sex, double salay) {
        super(name, age, sex);
        this.salay = salay;
    }

    @Override
    public void play() {
        System.out.println(super.getName()+"在寂寞的和李信对线");
    }
    public final  void  sing(){
        System.out.println(super.getName()+"在寂寞的唱Evolve（淬炼）");
    }
}
